import os

candidates = os.listdir(".")
candidates = [x for x in candidates if x.endswith(".json")]
for x in candidates:
    print("removing json file:\n",x)
    os.remove(x)
